package com.shop.web.menu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.web.menu.entity.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MenuMapper extends BaseMapper<Menu> {
    //根据用户id查询菜单
    List<Menu> getMenuByUserId(@Param("userId") Long userId);
}
